<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
tpl2.html文件
{{.}}<br>
{{.msg}}<br>
{{.user}}<br>
{{range $k, $v := .}}{{$k}}:{{$v}}<br>{{end}}
</body>
</html>